﻿namespace Command_Pattern
{
    public class BakeHotDogCommand:Command
    {
        public BakeHotDogCommand(Barbecuer receiver) : base(receiver) { name = "热狗"; }
        public override void Execute()
        {
            receiver.BakeHotDog(count);
        }
    }
}
